package com.yuanhua.sms.config;

import com.yuanhua.sms.service.impl.CacheSmsService;
import com.yuanhua.sms.service.impl.SmsService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SmsConfig {

    @Bean
    public CacheSmsService cacheSmsService(){
        return new CacheSmsService();
    }

    @Bean
    public SmsService smsService() { return  new SmsService();}
}
